package com.newtouch.bxzs.database.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 机构查询返回类
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2020/2/22 10:41</td>
 * <td>wangzhen</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author wangzhen
 * @version 1.0.0
 * @since 1.0.0
 */
/* lombok插件注解 */
@Data
public class OrganizationBO implements Serializable {

    private static final long serialVersionUID = -8835258549502131769L;
    @ApiModelProperty(value = "机构ID organizationId",required=true)
    private String organizationId;

    @ApiModelProperty(value = "机构编码organizationCode")
    private String organizationCode;

    @ApiModelProperty(value = "机构名称organizationName")
    private String organizationName;

    @ApiModelProperty(value = "上级机构名称parentOrganizationName")
    private String parentOrganizationName;

    @ApiModelProperty(value = "机构联系电话organizationTelephone")
    private String organizationTelephone;

    @ApiModelProperty(value = "机构类型organizationType")
    private String organizationType;

    @ApiModelProperty(value = "描述 organizationDescriptionInfo")
    private String organizationDescriptionInfo;

    @ApiModelProperty(value = "上级机构编码parentOrganizationCode")
    private String parentOrganizationCode;

    @ApiModelProperty(value = "启用状态 enableFlag")
    private boolean enableFlag;

    @ApiModelProperty(value = "创建时间createTime")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "下级机构 haveChaild 0表示下级 ")
    private String haveChaild;
}
